<table id="{$Think.CONTROLLER_NAME}_{$Think.ACTION_NAME}_MG"></table>

<script language="javascript">
$(document).ready(function(){
    console.log("-- emp_app/view/pc/user/emp_gui_adm/index/datagrid.html");

    var index = new Page({
        Module: '{$Think.MODULE_NAME}',
        Controller: '{$Think.CONTROLLER_NAME}',
        Action: '{$Think.ACTION_NAME}',
    });

    index.datagrid().init({
        grid_id: "MG",
        o: {
            singleSelect: true,
            rownumbers: true,
            idField: 'emp_id',
            toolbar: '#{$Think.CONTROLLER_NAME}_{$Think.ACTION_NAME}_MG_Toolbar',
            showFooter: true,
            fit: true,

        },
    });

});
</script>
